<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>$Title$</title>
</head>
<script type="text/javascript" th:src="@{/js/jquery-1.7.2.min.js}"></script>
<script type="text/javascript">
    $(function () {
        alert("??????????")
        alert($("#username").val())
    })
</script>
<body>
    <h1>index2.html</h1>
    <input type="text" id="username" value="999">
<!--    注意不能用数字-->
    <img th:src="@{/img/001.jpg}">
<!--        <img th:src="@{/img/dx.png}">-->
</body>
</html>